<script typ"text/javascript">
function setWrapperHeight(pixels) {
	var obj = document.getElementById('mainApp');
	obj.height = pixels;
}
</script>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="<%= $this->AppName %>" width="<%= $this->Width %>" height="<%= $this->Height %>"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="flashvars" value="<%= $this->FlashVars %>" />
			<param name="movie" value="<%= $this->BinDirectory %>/<%= $this->AppName %>.swf" />
			<param name="quality" value="<%= $this->Quality %>" />
			<param name="bgcolor" value="<%= $this->Bgcolor %>" />
			<param name="allowScriptAccess" value="<%= $this->AllowScriptAccess %>" />
			<embed id="mainApp" src="<%= $this->BinDirectory %>/<%= $this->AppName %>.swf?<%= $this->FlashVars %>" quality="<%= $this->Quality %>" bgcolor="<%= $this->Bgcolor %>"
				width="<%= $this->Width %>"
				height="<%= $this->Height %>"
				name="<%= $this->AppName %>"
				align="<%= $this->Align %>"
				play="true"
				loop="false"
				quality="<%= $this->Quality %>"
				allowScriptAccess="<%= $this->AllowScriptAccess %>"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
</object>